<form id="send-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">傳送對象:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" readonly value="{$row.username|htmlentities}"  />
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('line_userid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" readonly  value="{$row.line_userid}" />
        </div>
    </div>

    <div class="form-group">
        <label  class="control-label col-xs-12 col-sm-2">傳送內容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" data-rule="required" class="form-control editor" rows="5" name="content" cols="50"></textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed" {if empty($row.line_userid)} disabled {/if}>{:__('傳送')}</button>
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>